package com.kgc.sbt.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * favorite
 * @author 
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "个人收藏详情", description = "对应数据库中的favorite表")
public class Favorite implements Serializable {
    /**
     * 编号
     */
    @ApiModelProperty(value = "收藏编号", example = "1")
    private Integer id;

    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号")
    private Integer userId;

    /**
     * 商品编号
     */
    @ApiModelProperty(value = "商品编号")
    private Integer goodsId;

    /**
     * 收藏时间
     */
    @ApiModelProperty(value = "收藏创建时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;
}